home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 April: Mac OS SDK / Dev.CD Apr 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Interfaces / CIncludes / IntEnv.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-05  |  1.6 KB  |  65 lines  |  [TEXT/MPS ]

  1. /********************************************************************
  2.  
  3.     IntEnv.h
  4.     C Interface to the Macintosh Programmer's Workshop Libraries
  5.  
  6.  
  7.     Copyright Apple Computer, Inc. 1995
  8.     All rights reserved
  9.     
  10.       Warning:  This interface is NOT a part of the ANSI C standard.
  11.                 We do NOT claim to be POSIX compliant.  If you want
  12.                your code to be portable, don't use this interface.
  13.  
  14. ********************************************************************/
  15.  
  16.  
  17. #ifndef __INTENV__
  18. #define __INTENV__
  19.  
  20. #ifndef __TYPES__
  21. #include <Types.h>
  22. #endif
  23.  
  24. #ifndef __FILES__
  25. #include <Files.h>
  26. #endif
  27.  
  28. #ifndef __ALIASES__
  29. #include <Aliases.h>
  30. #endif
  31.  
  32. #ifdef __cplusplus
  33. extern "C" {
  34. #endif
  35.  
  36. #if defined (__CFM68K__) && !defined (UsingStaticLibs)
  37.     #pragma import on
  38. #endif
  39.  
  40. /* Global Variables */
  41.  
  42. extern    int    StandAlone;
  43.  
  44. /* Utility Routines */
  45.  
  46. OSErr ResolveFolderAliases (
  47.     /* Info in  */    short volume, long directory, StringPtr path, Boolean resolveLeafAlias,
  48.     /* Info out */    FSSpec *theSpec, Boolean *isFolder, Boolean *hadAlias, Boolean *leafIsAlias);
  49. OSErr MakeResolvedFSSpec (short volume, long directory, StringPtr path,
  50.                           FSSpec *theSpec, Boolean *isFolder, Boolean *hadAlias,
  51.                           Boolean *leafIsAlias);
  52. OSErr ResolvePath (char *rawPath, char *resolvedPath, Boolean *isFolder, Boolean *hadAlias);
  53. OSErr MakeResolvedPath (short volume, long directory, StringPtr path, Boolean resolveLeafAlias,
  54.                         char *buffer, Boolean *isFolder, Boolean *hadAlias, Boolean *leafIsAlias);
  55.  
  56. #if defined (__CFM68K__) && !defined (UsingStaticLibs)
  57.     #pragma import off
  58. #endif
  59.  
  60. #ifdef __cplusplus
  61. }
  62. #endif
  63.  
  64. #endif    /* __INTENV__ */
  65.